# _*_ coding:utf-8 _*_

"""
下载器中间件
用于处理请求和响应
"""
class DownloadMiddlewares(object):
    def process_request(self,request):
        print("DownloadMiddlewares:process_request")
        return request


    def process_response(self,response):
        print("DownloadMiddlewares:process_response")
        return response